From 94af95bb04eab959e0859dcbf9be05b83d2766db Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Wed, 4 Oct 2006 22:12:01 -0600 Subject: [PATCH] [IA64] remove getmeminfo.nr_pages trick from xencomm getmeminfo nr_page trick is not anymore necessary. Signed-off-by: Tristan Gingold --- linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c b/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c index 1c4818622f..c11fe1ec05 100644 --- a/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c +++ b/linux-2.6-xen-sparse/arch/ia64/xen/xcom_privcmd.c @@ -192,10 +192,7 @@ xencomm_privcmd_domctl(privcmd_hypercall_t *hypercall) case XEN_DOMCTL_getmemlist: { unsigned long nr_pages = kern_op.u.getmemlist.max_pfns; -#ifdef __ia64__ - /* FIXME: Xen/ia64 pass first_page and nr_pages in max_pfns! */ - nr_pages &= 0xffffffff; -#endif + ret = xencomm_create( xen_guest_handle(kern_op.u.getmemlist.buffer), nr_pages * sizeof(unsigned long), -- 2.30.2